import dao.common.OrderManager;
import dao.hibernate.OrderManagerHB;
import models.shop.Order;
import org.junit.Test;
import play.test.FunctionalTest;

import java.util.List;

public class Order_Tests extends FunctionalTest {
    @Test
    public void listUnconfirmedTest(){
        OrderManager orderManager = new OrderManagerHB();
        List<Order> unconfirmed = orderManager.getUnconfirmed();
        assertTrue(unconfirmed.size() > 0);
    }
}
